﻿using PureMVC.Patterns;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

///<summary>
///
///</summary>
public class AppFacde  : Facade
{
    public void StartUp()
    {
        Facade.Instance.SendNotification(GameEvents.LOADING_START);
    }
    //初始化Control
    protected override void InitializeController()
    {
        base.InitializeController();
        RegisterCommand(GameEvents.LOADING_START,typeof(LoadingCommand));
        RegisterCommand(GameEvents.GAME_AWAKE_COMMAND, typeof(GameAwakeCommand));
    }
}
